package com.mc.fil.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 生产信息对象 fil_production_records
 *
 * @author mc
 * @date 2021-04-12
 */
public class FilProductionRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 编号 */
    @Excel(name = "编号")
    private String id;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String filId;

    /** 工作类型 */
    @Excel(name = "工作类型")
    private String type;

    /** 工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 次数/频次 */
    @Excel(name = "次数/频次")
    private Long frequency;

    /** 工作方式 */
    @Excel(name = "工作方式")
    private String workWay;

    /** 施肥/药名称 */
    @Excel(name = "施肥/药名称")
    private String fertilizerOrDrugName;

    /** 工作面积 */
    @Excel(name = "工作面积")
    private BigDecimal workArea;

    /** 发生/防治时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生/防治时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOfPrevention;

    /** 用药浓度 */
    @Excel(name = "用药浓度")
    private BigDecimal drugConcentration;

    /** 防治效果 */
    @Excel(name = "防治效果")
    private String controlEffect;

    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setWorkTime(Date workTime)
    {
        this.workTime = workTime;
    }

    public Date getWorkTime()
    {
        return workTime;
    }
    public void setFrequency(Long frequency)
    {
        this.frequency = frequency;
    }

    public Long getFrequency()
    {
        return frequency;
    }
    public void setWorkWay(String workWay)
    {
        this.workWay = workWay;
    }

    public String getWorkWay()
    {
        return workWay;
    }
    public void setFertilizerOrDrugName(String fertilizerOrDrugName)
    {
        this.fertilizerOrDrugName = fertilizerOrDrugName;
    }

    public String getFertilizerOrDrugName()
    {
        return fertilizerOrDrugName;
    }
    public void setWorkArea(BigDecimal workArea)
    {
        this.workArea = workArea;
    }

    public BigDecimal getWorkArea()
    {
        return workArea;
    }
    public void setTimeOfPrevention(Date timeOfPrevention)
    {
        this.timeOfPrevention = timeOfPrevention;
    }

    public Date getTimeOfPrevention()
    {
        return timeOfPrevention;
    }
    public void setDrugConcentration(BigDecimal drugConcentration)
    {
        this.drugConcentration = drugConcentration;
    }

    public BigDecimal getDrugConcentration()
    {
        return drugConcentration;
    }
    public void setControlEffect(String controlEffect)
    {
        this.controlEffect = controlEffect;
    }

    public String getControlEffect()
    {
        return controlEffect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updatedBy", getUpdatedBy())
                .append("updatedTime", getUpdatedTime())
                .append("id", getId())
                .append("filId", getFilId())
                .append("type", getType())
                .append("workTime", getWorkTime())
                .append("frequency", getFrequency())
                .append("workWay", getWorkWay())
                .append("fertilizerOrDrugName", getFertilizerOrDrugName())
                .append("workArea", getWorkArea())
                .append("timeOfPrevention", getTimeOfPrevention())
                .append("drugConcentration", getDrugConcentration())
                .append("controlEffect", getControlEffect())
                .append("remark", getRemark())
                .toString();
    }
}